<!--
Date: 2025-08-13
Copyright (c) 2025 Industrial Software Feature Database
-->
<template>
  <div class="natural-mesh-model__main preview-all">
    <!-- <el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
      <el-tab-pane label="自然网格模型" name="first">
        
      </el-tab-pane>
      <el-tab-pane label="强度模型" name="second">

      </el-tab-pane>
    </el-tabs> -->
    <Mesh v-if="activeName === 'first'" />
  </div>
</template>
<script setup name="Build">
import Mesh from './components/Mesh.vue';
// import Import from './components/Import.vue';
import { useRoute } from 'vue-router';
const activeName = ref('first');
const route = useRoute();
const tableName = ref('');
const showBuildList = ref(true);
const showNewElement = ref(false);
const handleEvent = (data) => {
  
};
const handleClick = (tab, event) => {
  activeName.value = tab.name;
}
onMounted(() => {
  tableName.value = route.query?.tableName || '';
})
</script>
<style lang="scss" scoped>
// .elements {
//   height: calc(100vh - 84px);
//   width: 100%;
// }
.natural-mesh-model__main {
  height: calc(100vh - 180px);
  width: 100%;
  padding: 10px 20px;
}
</style>